package com.mida.bms.report.mapper;

import com.mida.bms.report.entity.DocStructTemplateSlot;
import com.mida.bms.report.vo.DocStructTemplateSlotVo;

import java.util.List;

public interface DocStructTemplateSlotMapper {
    int deleteByPrimaryKey(Long stTemplateSlotSoid);

    int insert(DocStructTemplateSlot record);

    int insertSelective(DocStructTemplateSlot record);

    DocStructTemplateSlot selectByPrimaryKey(Long stTemplateSlotSoid);

    int updateByPrimaryKeySelective(DocStructTemplateSlot record);

    int updateByPrimaryKey(DocStructTemplateSlot record);

    List<DocStructTemplateSlotVo> selectByFragraSoid(Long stFragmentSoid);

    void deleteBySlotSoid(Long stFragmentSoid, Long slotSoid);

    void deleteByFragraSoid(Long stFragraSoid);
}